package com.homestay.dao;

import com.homestay.beans.Vip;

import java.util.List;

public interface VipDao {
    int addVip(Vip vip);

    List<Vip> queryVipByCard(String card);
    List<Vip> queryVipByPhone(String phone);

    List<Vip> queryVipList(String phone);

    int deleteVipById(String id);


    Vip queryVipById(String id);

    int updateVip(Vip vip);
}
